#ifndef							__HANDLER_H__
#define							__HANDLER_H__

#include						"processor.h"
#include						"byte.h"
#include						"packet.h"
#include						"packetbuffer.h"

class							ASocket;

class							PacketHandler
{
public:
	PacketHandler(Processor &);
	~PacketHandler(void);

private:
	Processor					&_proc;
	PacketBuffer				_pkgBuff;

public:
	void						harvest(ASocket *, byteArray *);
	Packet						*toPacket(byteArray *);
};

#endif							//!__HANDLER_H__


